motto = '积善之家，必有余庆。'

print(motto[0:])
print(motto[5:10])
print(motto[5:])
print(motto[-5:-1])
print(motto[-5:])
print(motto[-10:])
print(motto[0:11])
print(motto[5:2])